/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yaps.petstore.service;

import com.yaps.petstore.dao.*;
import com.yaps.petstore.entity.customer.Address;
import com.yaps.petstore.entity.customer.Customer;
import java.util.List;

/**
 *
 * @author pfa
 */
public interface IAccountService {

    Customer authenticate(final String login, final String password);

    Customer createCustomer(final Customer customer, final Address homeAddress);

    void deleteCustomer(final Customer customer);

    Customer findCustomer(final Long customerId);

    List<Customer> findCustomers();

    Customer updateCustomer(final Customer customer, final Address homeAddress);
    
}
